package com.laboratory.report.lab02.lab0204;

/**
 * 测试
 */
public class Lab0204Main {

    public static void main(String[] args) {
        Cylinder cylinder1 = new Cylinder(2, 4);
        System.out.println("圆柱体的体积: " + cylinder1.volume());

        Cylinder cylinder2 = new Cylinder(5, 3);
        System.out.println("圆柱体的体积: " + cylinder2.volume());
    }
}
